package com.tuanzi.loan.vo.view.application;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class Action {

	private String launch;

	@JsonProperty("callback_url")
	private String callbackUrl;

	private LaunchParams launchParams;

	@Data
	public static class LaunchParams {

		private String tab = "web";
		private String title;
		private String titleUrl = "";
		private String htmlUrl;
		private Boolean withHead = true;
		private Boolean showToolbar = true;
		private Boolean userPost;
		private String postData;
		private String backLaunchParams;
		private Boolean clearTop = false;
		private Boolean canBlockNetworkImg = true;
		private Boolean reloadWhenLogin = true;
		private Boolean takeOverBackPressed = false;
		private Boolean callbackWhenResumeAndPause = false;
		private Boolean isTitleBarImmerse;
		private Boolean showTitle = true;
		private Boolean injectCss = false;
		private String injectCssContent;
		private Boolean injectJs = false;
		private String injectJsContent;
		private Boolean showMsgType;
		private List<String> registerMessage;
		private Boolean isMyIconWhite = false;

	}

}
